<template>
  <div class="e-table">
    <Group v-if="$store.state.userInfo.orgInfo.orgType === 1"></Group>
    <BranchCompany v-if="$store.state.userInfo.orgInfo.orgType === 2"></BranchCompany>
    <ProjectDepartment v-if="$store.state.userInfo.orgInfo.orgType === 5 || $store.state.userInfo.orgInfo.orgType === 4"></ProjectDepartment>
  </div>
</template>

<script>
import ProjectDepartment from '@/pages/comprehensiveReport/materialReport/subsummaryLedger/projectDepartment.vue'
import BranchCompany from '@/pages/comprehensiveReport/materialReport/subsummaryLedger/branchCompany.vue'
import Group from '@/pages/comprehensiveReport/materialReport/subsummaryLedger/group.vue'
import { mapState } from 'vuex'
export default {
    components: {
        ProjectDepartment,
        Group,
        BranchCompany
    },
    computed: {
       
    },
  mounted () {
        console.log('orgInfo', this.orgInfo)
    }
}
</script>

<style lang="scss">
  .reprotPage{
    height: 100%;
  }
  .back{
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 22px;
  }
</style>